<?php

use Biz\service\activity\FlashSale;
use Biz\tools\GoodsExposureLog;

/**
 * @deprecated
 */
class InfoAction extends ActionPlugin
{

    public function main()
    {
        $flashId = $this->getRequest()->getQuery('id');
        $goodsList = FlashSale::flashSaleInfo($flashId, $this->uid);
        $this->setSuccess($goodsList);
        GoodsExposureLog::addLog($this->getRequest(), $goodsList, $flashId);
    }
}